package cn.gd.pojo;

import lombok.Data;

@Data
public class Documents {
    /**
     * 文档ID，主键
     */
    private Integer documentID;

    /**
     * 文档标题
     */
    private String title;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 文档类型
     */
    private String documentType;

    /**
     * 创建时间
     */
    private String documentDate;

    /**
     * 是否公开，0私有，1公开
     */
    private Boolean isPublic;

    public Integer getDocumentID() {
        return documentID;
    }

    public void setDocumentID(Integer documentID) {
        this.documentID = documentID;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDocumentType() {
        return documentType;
    }

    public void setDocumentType(String documentType) {
        this.documentType = documentType;
    }

    public String getDocumentDate() {
        return documentDate;
    }

    public void setDocumentDate(String documentDate) {
        this.documentDate = documentDate;
    }

    public Boolean getPublic() {
        return isPublic;
    }

    public void setPublic(Boolean aPublic) {
        isPublic = aPublic;
    }

    public Boolean getIsPublic() {
        return isPublic;
    }

    public void setIsPublic(Boolean isPublic) {
        this.isPublic = isPublic;
    }
}
